Update mcuboot configuration for nrf7120 - #702
Open
erdemsimsek wants to merge 2 commits into
Open
Conversation
erdemsimsek
force-pushed
the
update-mcuboot-configuration-for-nrf7120
branch
from
July 1, 2026 20:00
a742340 to
2d6490a
Compare
NordicBuilder
added a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Jul 1, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-mcuboot#702 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
nRF7120 builds without Partition Manager, where BOOT_MAX_IMG_SECTORS_AUTO is enabled by default and derives the sector count from the DTS slot size and the MRAM erase-block. Enable link-time optimization (CONFIG_LTO and CONFIG_ISR_TABLES_LOCAL_DECLARATION) to reduce the MCUboot footprint. Enable FPROTECT. Signed-off-by: Erdem Simsek <erdem.simsek@nordicsemi.no>
Generalize the self-RWX lock for nRF71 and nRF54 series devices. Signed-off-by: Erdem Simsek <erdem.simsek@nordicsemi.no>
erdemsimsek
force-pushed
the
update-mcuboot-configuration-for-nrf7120
branch
from
July 1, 2026 20:04
2d6490a to
6ddcf08
Compare
|
NordicBuilder
added a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Jul 1, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-mcuboot#702 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
nvlsianpu
self-requested a review
July 23, 2026 07:12
Collaborator
|
@michalek-no Can you check whether rework of the self RWX cut-off implementation gives proper eqivalent? |
nvlsianpu
reviewed
Jul 24, 2026
| * lives in RAM (__ramfunc), so the now non-readable/executable MCUboot | ||
| * slot is never fetched or read again. | ||
| */ | ||
| disable_self_rwx(); |
Collaborator
There was a problem hiding this comment.
new procedure should works - it now uses stack, although it is moved before stack reconfiguration.
Original procedure was sackless - so it was not the case.
michalek-no
reviewed
Jul 27, 2026
| * region may already be locked. | ||
| */ | ||
| if ((cfg & NVM_CONFIG_SIZE_Msk) == 0) { | ||
| cfg &= ~NVM_CONFIG_SIZE_Msk; |
Contributor
There was a problem hiding this comment.
clearing if it's clear?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.